#pragma once
#include "common.h"
#include "block.h"
#include "encoding.h"
#include "from_file.h"

class compressor_main
{
public:
			compressor_main		(void);
			~compressor_main	(void);
	void	ItoA				(int iValue, char* szValue);
	void	CmdLineError		(void);
	void	InitializeSignals	(void);
	int		FindSignal			(const char* szName);
	int		MakeMatch			(FILE* input, int* iMatchArray);
	void	GetFileInfo			(FILE* input, int* iNumOfColumns, int* inT);
	int		run_old_main		(int argc, char** argv);
public:
	SUTG_SIGNAL					sSignals[VECTOR_LENGTH];
	block						mblock;
	encoding					mencoding;
	from_file					mfrom_file;
};
